import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import '@/plugins/element.js'
import 'element-ui/lib/theme-chalk/index.css'
import ElementUI from 'element-ui'
import './plugins/element.js'
import { message } from './utils/resetMessage'



Vue.use(ElementUI)
Vue.prototype.$message = message
Vue.prototype.$http = axios
Vue.config.productionTip = false

// 配置axios baseURL
axios.defaults.baseURL = 'http://localhost:8081/userservice/user'
//axios.defaults.withCredentials = false;

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
